//
//  RCDCornerBtn.h
//  jsy
//
//  Created by  任辰东 on 2020/4/13.
//  Copyright © 2020 JSY. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^ClickBlock)(UIButton * btn);


@interface RCDCornerBtn : UIButton
/**  点击事件  */
@property (nonatomic, copy) ClickBlock clickBlock;

/**  设置圆角  */
@property (nonatomic, assign) CGFloat cornerRadius;

/**  设置title 默认状态  */
- (void)setTitleString:(NSString *)string;
/**  设置title font 默认18   */
- (void)setTitleFont:(CGFloat)font;
- (void)setTitleColor:(UIColor *)color;
@end

NS_ASSUME_NONNULL_END
